//
//  RadioControl.h
//  iPhoneControlApplication
//
//  Created by Elliot Chapple on 11/04/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface RadioControl : UIViewController {
	
	//IBOutlets for the interface
	IBOutlet	UIButton	*freqUp;
	IBOutlet	UIButton	*freqDown;
	IBOutlet	UILabel		*currentFrequency;
	IBOutlet	UILabel		*radioStationName;
	IBOutlet	UIButton	*amFMSwitch;
	IBOutlet	UILabel		*amFMLabel;
	IBOutlet	UIButton	*scanButton;
	IBOutlet	UIButton	*stored1;
	IBOutlet	UIButton	*stored2;
	IBOutlet	UIButton	*stored3;
	IBOutlet	UIButton	*stored4;
	
}

//object properties

@property (nonatomic, retain) UIButton	*freqUp;
@property (nonatomic, retain) UIButton	*freqDown;
@property (nonatomic, retain) UILabel	*currentFrequency;
@property (nonatomic, retain) UILabel	*radioStationName;
@property (nonatomic, retain) UIButton	*amFMSwitch;
@property (nonatomic, retain) UILabel	*amFMLabel;
@property (nonatomic, retain) UIButton	*scanButton;
@property (nonatomic, retain) UIButton	*stored1;
@property (nonatomic, retain) UIButton	*stored2;
@property (nonatomic, retain) UIButton	*stored3;
@property (nonatomic, retain) UIButton	*stored4;

//Master Methods
-(IBAction)freqUpButtonPress;
-(IBAction)freqDownButtonPress;
-(IBAction)amFMSwitchOver;
-(IBAction)scanRadioStations;
-(IBAction)storeStation:(id)sender;

@end
